<?php
/**
 * Created by PhpStorm.
 * User: yys
 * Date: 2016/11/18
 * Time: 15:08
 */

namespace App\Http\Routes;

use Illuminate\Contracts\Routing\Registrar;
class TagBackRoute
{
    public function map(Registrar $router)
    {
        $router->group(['middleware' =>[ 'web','auth','permissions.check'], 'namespace'=>'Backstage', 'prefix' =>'backstage/tag/'], function ($router) {
            $router->post('search-tag', ['uses' => 'TagBackController@tagSearch'])->name('post.product-temp.product-temp-list.search-tag');
            $router->post('update-sort', ['uses' => 'TagBackController@postUpdateSort'])->name('post.product-temp.product-temp-list.update-sort');
//            $router->get('add-source-pic-tag', [ 'uses' => 'SourcePicBackController@getAddSourcePicTag']);
        });
   }
}